package com.test.mapper;

import com.test.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {


    public boolean deleteStudentById(int id);

    public Student queryStudentById(int id);

    public Student getStudentById(int id);

    public List<Student> getStudentsByName(String name);

    public List<Student> getStudentsByCondition(Student s);


    public boolean updateStudent(Student s);

    public List<Student> selectByChoose(Student s);

    public Integer insertStudent(List<Student> ss);

    public List<Student> selectByIds(@Param("ids") List<Integer> ids);
}
